	<h1>Prihlasovanie na udalost</h1>

  <?php
    echo form_open('main/kolektiv_prihlasenie');
    
    echo validation_errors();
    
    $options = array(                                 //TODO
                   'matematika'  => 'Matematika',
                   'fyzika'    => 'Fyzika',
                   'informatika'   => 'Informatika',
                   'ine' => 'Iné',
                 );
    echo "<p>Vyberte kolektív: ";             
    echo form_dropdown('kolektiv', $options, $this->input->post('kolektiv'));
    echo "</p>";
    
    echo "<p>Vyberte deň: TODO";
    echo "</p>";  
    
    echo form_close();
  ?>
    
  <a href='<?php echo base_url()."main/members" ?>'>späť</a> <br>